package tools;

/*
 * Author: Samantha Choy
 * Date: August 11, 2014
 * File name: Amur.java
 * Function: Collection of values and methods used specifically for Amur calendar project
 * 
 * More info about this project can be found at https://code.google.com/p/ics314-sum14-amur-cal/
 * 
 */

public class AmurTools {
	
    /*
    ABBREVIATION    TIME ZONE NAME                          UTC OFFSET
    AST     ATLANTIC STANDARD TIME          UTC - 4
    EST     EASTERN STANDARD TIME   UTC - 5
    EDT     EASTERN DAYLIGHT TIME   UTC - 4
    CST     CENTRAL STANDARD TIME   UTC - 6
    CDT     CENTRAL DAYLIGHT TIME   UTC - 5                         
    MST     MOUNTAIN STANDARD TIME  UTC - 7                         
    MDT     MOUNTAIN DAYLIGHT TIME  UTC - 6                         
    PST     PACIFIC STANDARD TIME   UTC - 8                         
    PDT     PACIFIC DAYLIGHT TIME   UTC - 7                         
    AKST    ALASKA TIME     UTC - 9                         
    AKDT    ALASKA DAYLIGHT TIME    UTC - 8                         
    HST     HAWAII STANDARD TIME    UTC - 10                                
    HAST    HAWAII-ALEUTIAN STANDARD TIME   UTC - 10                                
    HADT    HAWAII-ALEUTIAN DAYLIGHT TIME   UTC - 9                         
    SST     SAMOA STANDARD TIME     UTC - 11                                
    SDT     SAMOA DAYLIGHT TIME     UTC - 10                                
    CHST    CHAMORRO STANDARD TIME  UTC +10
    */	
	public static final String[] timezones = {"AST", "EST", "EDT", "CST", "CDT", 
	    "MST", "MDT", "PST", "PDT", "AKST", "AKDT", "HST", 
	    "HAST", "HADT", "SST", 
	    "SDT", "CHST"};
	  
	public static final String[] timezonesLong = {"America/Blanc-Sablon", "America/Atikokan", "America/New_York", "America/Regina", "America/Mexico_City",
	    "America/Phoenix", "America/Edmonton", "America/Los_Angeles", "America/Los_Angeles", "America/Anchorage", "America/Anchorage", "Pacific/Honolulu",
	    "America/Adak", "America/Adak", "Pacific/Pago_Pago", "Pacific/Pago_Pago", "Pacific/Guam"};
	  
	public static final int[] daysInMonth = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
	  
	public static String makeZeroFilled(int newNum, int minLength) {
		String temp = "" + newNum;
		while (temp.length() < minLength) {
			temp = "" + "0" + temp; 
		}	
		return temp;
	}// end makeZeroFilled()
}//end class	
	
